package com.cz.modules.jxc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author Cz
 * @email 
 * @date 2020-04-16 13:42:40
 */
@Data
@TableName("jxc_sell_details")
public class JxcSellDetailsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.UUID)
	private String id;
	/**
	 * 交易单号
	 */
	private String sellMasterCode;
	/**
	 * 商品条码
	 */
	private String commodityBarcode;
	/**
	 * 商品名称
	 */
	private String commodityName;
	/**
	 * 销售数量
	 */
	private Long sellCount;
	/**
	 * 商品单价
	 */
	private Double price;
	/**
	 * 优惠金额
	 */
	private Double discount;
	/**
	 * 交易金额
	 */
	private Double sellAmount;
	/**
	 * 销售时间
	 */
	private Date sellMasterDate;

	/**
	 * 统计数据
	 */
	@TableField(exist = false)
	private String countValue;
	/**
	 * x轴值
	 */
	@TableField(exist = false)
	private int xValue;
	/**
	 * y轴值
	 */
	@TableField(exist = false)
	private String yValue;
	/**
	 *
	 */
	@TableField(exist = false)
	private String name;

}
